package com.kcs.fxmargin.model;

import java.math.BigDecimal;
import java.sql.Date;

/*
 id	12	varchar
cif_no	12	varchar
deal_id	12	varchar
parent_id	12	varchar
trans_type	12	varchar
buy_sell	1	char
trans_date	12	date
value_date	12	date
ccy1	1	char
deal_amt1	2	numeric
exch_rate	8	float
ccy2	1	char
equity_amt	2	numeric
outstd_amt	2	numeric
doc_type	12	varchar
im_required	2	numeric
mtm_rate	2	numeric
unrealized_pl	2	numeric
closed_rate	2	numeric
realized_pl	2	numeric
deal_status	12	varchar
active_status	1	char
create_by	12	varchar
create_dt	93	datetime
update_by	12	varchar
update_dt	93	datetime
row_version	4	int
pre_settle_risk	2	numeric
pre_settle_used	2	numeric
instrument	12	varchar
branch	12	varchar
comments	12	varchar
 */

public class TDeals extends BaseModel {
	private String cifNo;
	private String dealId;
	private String parentId;
	private String transType;
	private String buySell;
	private Date transDate;
	private Date valueDate;
	private String ccy1;
	private BigDecimal dealAmt1;
	private BigDecimal exchRate;
	private String ccy2;
	private BigDecimal equityAmt;
	private BigDecimal outstdAmt;
	private String docType;
	private BigDecimal imRequired;
	private BigDecimal mtmRate;
	private BigDecimal unrealizedPl;
	private BigDecimal closedRate;
	private BigDecimal realizedPl;
	private String dealStatus;
	private String instrument;
	private String branch;
	private String comments;
	private String tenor;
	
	public String getInstrument() {
		return instrument;
	}
	public void setInstrument(String instrument) {
		this.instrument = instrument;
	}
	public String getBranch() {
		return branch;
	}
	public void setBranch(String branch) {
		this.branch = branch;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	public String getCifNo() {
		return cifNo;
	}
	public void setCifNo(String cifNo) {
		this.cifNo = cifNo;
	}
	public String getDealId() {
		return dealId;
	}
	public void setDealId(String dealId) {
		this.dealId = dealId;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getTransType() {
		return transType;
	}
	public void setTransType(String transType) {
		this.transType = transType;
	}
	public String getBuySell() {
		return buySell;
	}
	public void setBuySell(String buySell) {
		this.buySell = buySell;
	}
	public Date getTransDate() {
		return transDate;
	}
	public void setTransDate(Date transDate) {
		this.transDate = transDate;
	}
	public Date getValueDate() {
		return valueDate;
	}
	public void setValueDate(Date valueDate) {
		this.valueDate = valueDate;
	}
	public String getCcy1() {
		return ccy1;
	}
	public void setCcy1(String ccy1) {
		this.ccy1 = ccy1;
	}
	public BigDecimal getDealAmt1() {
		return dealAmt1;
	}
	public void setDealAmt1(BigDecimal dealAmt1) {
		this.dealAmt1 = dealAmt1;
	}
	public BigDecimal getExchRate() {
		return exchRate;
	}
	public void setExchRate(BigDecimal exchRate) {
		this.exchRate = exchRate;
	}
	public String getCcy2() {
		return ccy2;
	}
	public void setCcy2(String ccy2) {
		this.ccy2 = ccy2;
	}
	public BigDecimal getEquityAmt() {
		return equityAmt;
	}
	public void setEquityAmt(BigDecimal equityAmt) {
		this.equityAmt = equityAmt;
	}
	public BigDecimal getOutstdAmt() {
		return outstdAmt;
	}
	public void setOutstdAmt(BigDecimal outstdAmt) {
		this.outstdAmt = outstdAmt;
	}
	public String getDocType() {
		return docType;
	}
	public void setDocType(String docType) {
		this.docType = docType;
	}
	public BigDecimal getImRequired() {
		return imRequired;
	}
	public void setImRequired(BigDecimal imRequired) {
		this.imRequired = imRequired;
	}
	public BigDecimal getMtmRate() {
		return mtmRate;
	}
	public void setMtmRate(BigDecimal mtmRate) {
		this.mtmRate = mtmRate;
	}
	public BigDecimal getUnrealizedPl() {
		return unrealizedPl;
	}
	public void setUnrealizedPl(BigDecimal unrealizedPl) {
		this.unrealizedPl = unrealizedPl;
	}
	public BigDecimal getClosedRate() {
		return closedRate;
	}
	public void setClosedRate(BigDecimal closedRate) {
		this.closedRate = closedRate;
	}
	public BigDecimal getRealizedPl() {
		return realizedPl;
	}
	public void setRealizedPl(BigDecimal realizedPl) {
		this.realizedPl = realizedPl;
	}
	public String getDealStatus() {
		return dealStatus;
	}
	public void setDealStatus(String dealStatus) {
		this.dealStatus = dealStatus;
	}
	public String getTenor() {
		return tenor;
	}
	public void setTenor(String tenor) {
		this.tenor = tenor;
	}	
	
}
